package cn.shyouchi.wuguanjia.android.ui.event.train;

import java.util.List;

import cn.shyouchi.wuguanjia.android.base.BasePresenter;
import cn.shyouchi.wuguanjia.android.base.BaseView;

/**
 * Created by Eenie on 2016/11/16 at 13:31
 * Email: 472279981@qq.com
 * Des:
 */

public interface TrainContract {
    interface View extends BaseView {

        void onDataRefresh(List<TrainEntity.ResultMessageBean> resultMessages);

        void onItemClick(TrainEntity.ResultMessageBean entity);

        void onDelClick(TrainEntity.ResultMessageBean entity);

    }

    interface Presenter extends BasePresenter<View> {

        void getTrainList(String projectId);


        void delTrain(String projectId, String id);

    }
}
